<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <meta name="format-detection" content="telephone=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp"/>
  <link rel="alternate icon" type="image/png" href="assets/i/favicon.png">
  <link rel="stylesheet" href="assets/css/amazeui.min.css"/>
  <title>首页</title>
  <style>
    .get {
      background: #1E5B94;
      color: #fff;
      text-align: center;
      padding: 100px 0;
    }

    .get-title {
      font-size: 200%;
      border: 2px solid #fff;
      padding: 20px;
      display: inline-block;
    }

    .get-btn {
      background: #fff;
    }

    .detail {
      background: #fff;
    }

    .detail-h2 {
      text-align: center;
      font-size: 150%;
      margin: 40px 0;
    }

    .detail-h3 {
      color: #1f8dd6;
    }

    .detail-p {
      color: #7f8c8d;
    }

    .detail-mb {
      margin-bottom: 30px;
    }

    .hope {
      background: #0bb59b;
      padding: 50px 0;
    }

    .hope-img {
      text-align: center;
    }

    .hope-hr {
      border-color: #149C88;
    }

    .hope-title {
      font-size: 140%;
    }

    .about {
      background: #fff;
      padding: 40px 0;
      color: #7f8c8d;
    }

    .about-color {
      color: #34495e;
    }

    .about-title {
      font-size: 180%;
      padding: 30px 0 50px 0;
      text-align: center;
    }

    .footer p {
      color: #7f8c8d;
      margin: 0;
      padding: 15px 0;
      text-align: center;
      background: #2d3e50;
    }
  </style>
  <script src="assets/js/jquery.min.js"></script>
<script src="assets/js/amazeui.js"></script>
<script src="assets/js/handlebars.min.js"></script>
<script src="assets/js/amazeui.widgets.helper.js"></script>
</head>
<body>
<header class="am-topbar am-topbar-fixed-top">
  <div class="am-container">
    <h1 class="am-topbar-brand">
      <a href="#">Shopping</a>
    </h1>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-secondary am-show-sm-only"
            data-am-collapse="{target: '#collapse-head'}"><span class="am-sr-only">导航切换</span> <span
        class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="collapse-head">
      <ul class="am-nav am-nav-pills am-topbar-nav">
        <li class="am-active"><a href="index.jsp">首页</a></li>
        <li ><a href="productshow.jsp">商品展示</a></li>
        <li ><a href="MyShoppingCar.jsp">我的购物车</a></li>
        <li><a href="MyOrderForm.jsp">我的订单</a></li>
        <li><a href="content.jsp">联系我们</a></li>
        </li>
      </ul>
	<%
		if(session.getAttribute("user") == null) {
	%>
	<div class="am-topbar-right">
        <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm" onclick="location.href='regin.jsp';"><span class="am-icon-pencil" ></span> 注册</button>
      </div>

      <div class="am-topbar-right">
        <button class="am-btn am-btn-primary am-topbar-btn am-btn-sm"onclick="location.href='login.jsp';"><span class="am-icon-user"></span> 登录</button>
      </div>
	<%
		} else {
			%>
			<div class="am-topbar-right">
			 
			 <button class="am-btn am-btn-primary am-topbar-btn am-btn-sm"onclick="location.href='MyCenter.jsp';"><span class="am-icon-user"></span> 个人中心</button>
			<%
		}
	%>
     
    </div>
  </div>
</header>
<div class="get">
  <div class="am-g">
    <div class="am-u-lg-12">
    <h1 class="get-title">不一样的心情，不一样的惊喜</h1>
    <p>
        谢谢大家支持，期待而来，满意而归！
      </p>
       <p>
        <a href="productshow.jsp" class="am-btn am-btn-sm get-btn">获取更多信息</a>
      </p>
      </div>
  </div>
</div>
<footer class="footer">
  <p>© 2015 <a href="http://www.yunshipei.com" target="_blank">sdkdsoftware14-1, Inc.</a> Licensed under <a
      href="http://opensource.org/licenses/MIT" target="_blank">SDKD license</a>. by WangZheng.</p>
</footer>
</body>
</html>